package yl.hs.bmipfull.pojo.laboratory;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.util.Date;

/**
 * @author 谢东
 * @apiNote 取样记录实体类
 * @since 2022年08月03日 10时15分28秒
 */
@DBTable(disName = "取样记录", mapCode = "sampling_record")
public class SamplingRecordEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "取样记录编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "")
    private String sn;
    /**
     * 生产任务
     */
    @DBField(disName = "生产任务", mapCode = "taskName")
    private String taskName;
    /**
     * 任务编号
     */
    @DBField(disName = "任务编号", mapCode = "taskSN")
    private String taskSN;
    /**
     * 取样人
     */
    @DBField(disName = "取样人", mapCode = "userName")
    private String userName;
    /**
     * 取样人编号
     */
    @DBField(disName = "取样人编号", mapCode = "userSN")
    private String userSN;
    /**
     * 备注
     */
    @DBField(disName = "备注", mapCode = "remark")
    private String remark;
    /**
     * 照片
     */
    @DBField(disName = "图片", mapCode = "photo")
    private String photo;
    /**
     * 状态
     */
    @DBField(disName = "状态", mapCode = "state")
    private Short state;
    @DBField(disName = "取样时间", mapCode = "samplingTime")
    private Date samplingTime;

    public String getPointInfo() {
        return pointInfo;
    }


    public void setPointInfo(String pointInfo) {
        this.pointInfo = pointInfo;
    }
    /**
     * 定位
     */
    @DBField(disName = "定位", mapCode = "pointInfo")
    private String pointInfo;


    public Date getSamplingTime() {
        return samplingTime;
    }

    public void setSamplingTime(Date samplingTime) {
        this.samplingTime = samplingTime;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return this.id;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getSn() {
        return this.sn;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskName() {
        return this.taskName;
    }

    public void setTaskSN(String taskSN) {
        this.taskSN = taskSN;
    }

    public String getTaskSN() {
        return this.taskSN;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserSN(String userSN) {
        this.userSN = userSN;
    }

    public String getUserSN() {
        return this.userSN;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPhoto() {
        return this.photo;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public Short getState() {
        return this.state;
    }

}